package com.yanqu.road.entity.activity.foxcard;

import java.util.ArrayList;
import java.util.List;

/**
 * 效果牌(小丑牌
 */
public class FoxEffectCard extends FoxBaseCard {
    private int configId; // 牌配置id

    private int versionEffect;      //版本效果
    private List<Long> effectValues = new ArrayList<>();        //效果值

    public FoxEffectCard(int id, int type, int price, int configId) {
        super(id, type, price);
        this.configId = configId;
    }

    public FoxEffectCard() {
    }

    public int getConfigId() {
        return configId;
    }

    public void setConfigId(int configId) {
        this.configId = configId;
    }

    public int getVersionEffect() {
        return versionEffect;
    }

    public void setVersionEffect(int versionEffect) {
        this.versionEffect = versionEffect;
    }

    public List<Long> getEffectValues() {
        return effectValues;
    }

    public void setEffectValues(List<Long> effectValues) {
        this.effectValues = effectValues;
    }

    public FoxEffectCard clone() {
        FoxEffectCard card = new FoxEffectCard(this.getId(), this.getCardType(), this.getPrice(), this.getConfigId());
        card.setVersionEffect(this.getVersionEffect());
        card.setEffectValues(new ArrayList<>(this.getEffectValues()));
        return card;
    }
}
